package com.zl.learning.xml.pojo;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * 读取代码表 所需
 */

@XmlRootElement(name = "DIC")
@XmlAccessorType(XmlAccessType.FIELD)
public class Dic {
    @XmlAttribute(name = "NAME")
    private String name;

    @XmlElement(name = "ELEINFO")
    private List<EleInfo> eleInfos;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<EleInfo> getEleInfos() {
        return eleInfos;
    }

    public void setEleInfos(List<EleInfo> eleInfos) {
        this.eleInfos = eleInfos;
    }
}
